//
//  NearbyFriendCell.h
//  PigMarket
//
//  Created by mac on 2019/6/11.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,AddFriendOrChatType) {
    AddFriendOrChatTypeAdd = 0,
    AddFriendOrChatTypeChat = 1,
};
typedef void (^GotoShopBlock)(void);
typedef void (^AddOrChatBlock)(AddFriendOrChatType addFriendOrChatType);

@interface NearbyFriendCell : UITableViewCell
/**
 model
 */
@property (nonatomic , strong) NearbyFriends *model;
/**
 去店铺
 */
@property (nonatomic , copy) GotoShopBlock gotoShopBlock;
/**
 聊一聊 或者加好友
 */
@property (nonatomic , copy) AddOrChatBlock addOrChatBlock;
+ (instancetype)cellWithTableView:(UITableView *)tableView ;

@end

